package com.vhall.component.entity.rbac.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author song.dong
 * @date 2021-07-29 16:27
 */
@Data
public class EditMenuesReqVO {

    @NotNull(message = "角色id不存在，无法处理")
    @ParamName("role_id")
    private Integer roleId;

    @NotBlank(message = "请至少选择一个菜单")
    @ParamName("menu_ids")
    private String menuIds;
}
